import request from '@/utils/request'

// 案件订单列表
export function orderLists(params?: Record<string, any>) {
    return request.get({ url: '/order/list', params })
}

// 案件订单详情
export function orderDetail(params: Record<string, any>) {
    return request.get({ url: '/order/detail', params })
}

// 案件订单新增
export function orderAdd(params: Record<string, any>) {
    return request.post({ url: '/order/add', params })
}

// 案件订单编辑
export function orderEdit(params: Record<string, any>) {
    return request.post({ url: '/order/edit', params })
}

// 案件订单删除
export function orderDelete(params: Record<string, any>) {
    return request.post({ url: '/order/del', params })
}
